/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package business;

import dal.PackageTypeDAL;
import java.util.List;
import model.PackageType;

/**
 *
 * @author Administrator
 */
public class PackageTypeBusiness {

    private PackageTypeDAL packageTypeDAL = new PackageTypeDAL();

    public boolean newPackageType(PackageType packType) {
        if (packageTypeDAL.newPackageType(packType)) {
            return true;
        }
        return false;
    }

    public boolean updatePackageType(PackageType packType) {
        if (packageTypeDAL.updatePackageType(packType)) {
            return true;
        }
        return false;
    }

    public List<PackageType> listAllPackageType(){
        return packageTypeDAL.listAllPackType();
    }
}
